
import request from "@/utils/request";
class TransactionsAPI {
  /*     获取列表     */
  static getList (params) {
    return request({
      url: "/api/admin/transactions",
      method: "GET",
      params
    });
  }
  /*     资金明细类型     */
  static getType (params) {
    return request({
      url: "/api/admin/transaction-types",
      method: "GET",
      params
    });
  }

}
export default TransactionsAPI;